﻿using System;

namespace OpenAdmin.Application.Services.Dtos
{
    /// <summary>
    /// 
    /// </summary>
    public class ProductListByPageResponseDto
    {
        /// <summary>
        /// 
        /// </summary>
        public int Id { get; set; }

        /// <summary>
        /// 产品名称
        /// </summary>
        public string Name { get; set; }

        /// <summary>
        /// 产品原价格
        /// </summary>
        public decimal Price { get; set; }

        /// <summary>
        /// 是否促销
        /// </summary>
        public bool IsSale { get; set; }

        /// <summary>
        /// 产品促销价格
        /// </summary>
        public decimal SalePrice { get; set; }

        /// <summary>
        /// 产品描述
        /// </summary>
        public string Description { get; set; }

        /// <summary>
        /// 封面图片
        /// </summary>
        public string Cover { get; set; }

        /// <summary>
        /// 跳转地址
        /// </summary>
        public string Link { get; set; }

        /// <summary>
        /// 是否热卖
        /// </summary>
        public bool IsHot { get; set; }

        /// <summary>
        /// 是否上架
        /// </summary>
        public bool IsOn { get; set; }

        /// <summary>
        /// 是否推荐
        /// </summary>
        public bool IsRecommend { get; set; }

        /// <summary>
        /// 排序
        /// </summary>
        public int Sort { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTimeOffset CreatedTime { get; set; }

        /// <summary>
        /// 更新时间
        /// </summary>
        public DateTimeOffset? UpdatedTime { get; set; }
    }
}
